﻿<%@ Page Language="C#" AutoEventWireup="true" EnableViewState="true" CodeBehind="Index.aspx.cs"
    Inherits="FisheryPlatform.Web.WWW.Search.Index" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server" method="get">
    <div>
        <input name="query" size="44" value="<%=Request.QueryString["query"] %>" />&nbsp;
        <input type="submit" value="Search" />
        <br />
        <% var index = 0;
           foreach (var item in proQueryResult.List)
           {%>
        <%=++index %>
        &nbsp;:&nbsp;&nbsp;&nbsp;<%= item.Title %>--
        <%= item.ProductId %><br />
        <% } %>
    </div>
    </form>
</body>
</html>
